package com.ruoyi.combat.domain.userlocation;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 用户信息对象 combat_user
 * 
 * @author ruoyi
 * @date 2024-08-30
 */
@ApiModel("重保用户基本信息")
public class CombatUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("重保用户id")
    /** 主键 */
    private Long id;

    /** 用户社交账号id */
    @ApiModelProperty("用户社交账号id")
    @Excel(name = "用户社交账号id")
    private String userId;

    /** 用户社交账号名称 */
    @ApiModelProperty("用户社交账号名称")
    @Excel(name = "用户社交账号名称")
    private String userName;

    /** 用户社交账号昵称 */
    @ApiModelProperty("用户社交账号昵称")
    @Excel(name = "用户社交账号昵称")
    private String userNickname;

    /** 用户IP属地 */
    @ApiModelProperty("用户IP属地")
    @Excel(name = "用户IP属地")
    private String userIp;

    /** 用户关注量 */
    @ApiModelProperty("用户关注量")
    @Excel(name = "用户关注量")
    private Long userFocusNum;

    /** 用户粉丝量 */
    @ApiModelProperty("用户粉丝量")
    @Excel(name = "用户粉丝量")
    private Long userFansNum;

    /** 家庭住址 */
    @ApiModelProperty("家庭住址")
    @Excel(name = "家庭住址")
    private String userHomeAddr;

    /** 家庭住址纬度 */
    @ApiModelProperty("家庭住址纬度")
    @Excel(name = "家庭住址纬度")
    private String userHomeLat;

    /** 家庭住址经度 */
    @ApiModelProperty("家庭住址经度")
    @Excel(name = "家庭住址经度")
    private String userHomeLon;

    /** 工作地址 */
    @ApiModelProperty("工作地址")
    @Excel(name = "工作地址")
    private String userWorkAddr;

    /** 工作地址纬度 */
    @ApiModelProperty("工作地址纬度")
    @Excel(name = "工作地址纬度")
    private String userWorkLat;

    /** 工作地址经度 */
    @ApiModelProperty("工作地址经度")
    @Excel(name = "工作地址经度")
    private String userWorkLon;

    /** 用户平台 */
    @ApiModelProperty("用户平台")
    @Excel(name = "用户平台")
    private String userPlate;

    /** 用户类型 */
    @ApiModelProperty("用户类型")
    @Excel(name = "用户类型")
    private String userType;

    private String token;

    @ApiModelProperty("用户手机号")
    @Excel(name = "用户手机号")
    private String userPhone;

    private Date authTime;
    private String avatar;
    @ApiModelProperty("用户社交关系定位结果")
    private String socialAddress;
    private String afterAddress;
    private String city;


    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getAfterAddress() {
        return afterAddress;
    }

    public void setAfterAddress(String afterAddress) {
        this.afterAddress = afterAddress;
    }

    public String getSocialAddress() {
        return socialAddress;
    }

    public void setSocialAddress(String socialAddress) {
        this.socialAddress = socialAddress;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Date getAuthTime() {
        return authTime;
    }

    public void setAuthTime(Date authTime) {
        this.authTime = authTime;
    }


    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserNickname(String userNickname) 
    {
        this.userNickname = userNickname;
    }

    public String getUserNickname() 
    {
        return userNickname;
    }
    public void setUserIp(String userIp) 
    {
        this.userIp = userIp;
    }

    public String getUserIp() 
    {
        return userIp;
    }
    public void setUserFocusNum(Long userFocusNum) 
    {
        this.userFocusNum = userFocusNum;
    }

    public Long getUserFocusNum() 
    {
        return userFocusNum;
    }
    public void setUserFansNum(Long userFansNum) 
    {
        this.userFansNum = userFansNum;
    }

    public Long getUserFansNum() 
    {
        return userFansNum;
    }
    public void setUserHomeAddr(String userHomeAddr) 
    {
        this.userHomeAddr = userHomeAddr;
    }

    public String getUserHomeAddr() 
    {
        return userHomeAddr;
    }
    public void setUserHomeLat(String userHomeLat) 
    {
        this.userHomeLat = userHomeLat;
    }

    public String getUserHomeLat() 
    {
        return userHomeLat;
    }
    public void setUserHomeLon(String userHomeLon) 
    {
        this.userHomeLon = userHomeLon;
    }

    public String getUserHomeLon() 
    {
        return userHomeLon;
    }
    public void setUserWorkAddr(String userWorkAddr) 
    {
        this.userWorkAddr = userWorkAddr;
    }

    public String getUserWorkAddr() 
    {
        return userWorkAddr;
    }
    public void setUserWorkLat(String userWorkLat) 
    {
        this.userWorkLat = userWorkLat;
    }

    public String getUserWorkLat() 
    {
        return userWorkLat;
    }
    public void setUserWorkLon(String userWorkLon) 
    {
        this.userWorkLon = userWorkLon;
    }

    public String getUserWorkLon() 
    {
        return userWorkLon;
    }
    public void setUserPlate(String userPlate) 
    {
        this.userPlate = userPlate;
    }

    public String getUserPlate() 
    {
        return userPlate;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userNickname", getUserNickname())
            .append("userIp", getUserIp())
            .append("userFocusNum", getUserFocusNum())
            .append("userFansNum", getUserFansNum())
            .append("userHomeAddr", getUserHomeAddr())
            .append("userHomeLat", getUserHomeLat())
            .append("userHomeLon", getUserHomeLon())
            .append("userWorkAddr", getUserWorkAddr())
            .append("userWorkLat", getUserWorkLat())
            .append("userWorkLon", getUserWorkLon())
            .append("userPlate", getUserPlate())
            .append("userType", getUserType())
            .append("userPhone", getUserPhone())
            .toString();
    }
}
